﻿@model DCH.Areas.Admin.Models.Player

@{
    ViewBag.Title = "Details";
}

<h2>Details Player</h2>

<fieldset>
    <legend>Player</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Role)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Role)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Matches)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Matches)
    </div>

    <div class="display-label">
        Run or Wickets
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RunsOrWickets)
    </div>

    <div class="display-label">
        Team name
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TeamName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Stats)
    </div>
    <div class="display-field">
        @Html.Raw(Model.Stats)
    </div>

    <div class="display-label">
       HightLights
    </div>
    <div class="display-field">
        @Html.Raw(Model.highlight)
    </div>

    <div class="display-label">
        Player Image
    </div>
    <div class="display-field">
       <img src="@Url.Content("~/images/player/" + Model.image)" alt=""   width="200px" height="200px" />
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
